#ifndef ADDMAINGROUPDIALOG_H
#define ADDMAINGROUPDIALOG_H

#include <QDialog>

namespace Ui {
class addMainGroupDialog;
}

class addMainGroupDialog : public QDialog
{
    Q_OBJECT
    
public:
    explicit addMainGroupDialog(QWidget *parent = 0);
    ~addMainGroupDialog();
    
    QString mainGroupName = "新建主群组";  //主群组名称
    
    uchar mainGroupNum = 0;  //主群组数量
    
    enum MainGroupType {TOP,ADD,BEGIN};  //充值、追加、起始值
    
    uchar mainGroupBeginValue = 0;  //主群组起始值
    
private slots:
    void getAllInfo();
private:
    Ui::addMainGroupDialog *ui;
};

#endif // ADDMAINGROUPDIALOG_H
